import http from '../util/request.js'
export default {
    page:(obj)=>{
        return http({
            url:'/api/post/listPage',
            method:'get',
            params:obj
        });
    },
    search:(obj)=>{
        return http({
            url:'/api/post/search',
            method:'get',
            params:obj
        })
    }
}